package com.hy.erp.inventory.pojo;

import javax.persistence.Column ;
import javax.persistence.Entity ;
import javax.persistence.Table ;

/*import org.jboss.seam.ScopeType ;
import org.jboss.seam.annotations.Name ;
import org.jboss.seam.annotations.Scope ;
*/
import com.hy.erp.inventory.dao.interfaces.IMembereRelationDao;
import com.hy.erp.inventory.pojo.interfaces.IMaterielType;
import com.hy.erp.inventory.pojo.interfaces.IMembereRelation;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;

/**
 * <ul>
 * <li>开发作者：汤莉</li>
 * <li>设计日期：2010-10-6；时间：下午03:30:00</li>
 * <li>字段类型：long；字段名称：serialVersionUID</li>
 * <li>设计目的：家庭成员关系</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
/*@Entity
@Name("membereRelation")
@Scope(ScopeType.SESSION)
@Table(name="membereRlation")
@DaoA(IMembereRelationDao.class)*/
//public class MembereRelation extends AbstractPersistentEntity implements IMembereRelation
public class MembereRelation extends MyBaseModel //implements IPositonType
{

	private static final long	serialVersionUID	=
														6704155632234456671L ;
	
	
	public MembereRelation(){}

	@Column(name="relation",unique=false,nullable=false,insertable=true,updatable=true)
	public String getRelation ( )
	{
		
		return this.get(IMembereRelation.RELATION) ;
	}

	public void setRelation (
								String relation )
	{
		super.set(IMembereRelation.RELATION,relation) ;
	}
	
	
	
	public String getDescription ( )
	{
		return this.get(IMembereRelation.DESCRIPTION) ;
	}

	
	public void setDescription (
									String description )
	{
		super.set ( IMembereRelation.DESCRIPTION , description );
	}
	
}
